// ignore_for_file: non_constant_identifier_names

import 'package:bouncing_widget/bouncing_widget.dart';
import 'package:flutter/material.dart';

Widget HkZoomBtn(child, {VoidCallback? onTap, scale = 1.5}) {
  return BouncingWidget(
      duration: const Duration(milliseconds: 100),
      scaleFactor: scale,
      onPressed: (){
        if (onTap != null){
          onTap();
        }
      },
      child: child);
}